(define (min2 a b) (if (< a b) a b))
(define (min3 a b c) (min2 a (min2 b c)))

(define (square a) (* a a))
(define (f a b c) (- (+ (square a) (square b) (square c))
		     (square (min3 a b c))))
